package cn.yzc.client;

import cn.yzc.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * <p>Project: SpringColud - GoodsRemoteClient</p>
 * <p>Powered by yzc On 2024-01-05 17:17:06</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@FeignClient(value = "sc-goods")
public interface GoodsRemoteClient {

   @PutMapping("/update")
   public int update(@RequestParam("id") String id, @RequestParam("num") int num);
}
